package cn.service;

import cn.domain.Forum;
import cn.domain.PageBean;
import cn.domain.Reply;
import cn.domain.Topic;
import cn.utils.HQLHelper;

import java.util.List;

/**
 * Created by Administrator on 2017/4/5 0005.
 */
public interface TopicService {
    //根据板块查询
    public List<Topic> Show(Long id);
    //根据主题查询
    public List<Reply> reply(Long id);
    //根据id查询
    public Topic getById(Long id);
    //保存主题
    public void Save(Topic topic);
    //修改
    public void Update(Topic topic);

    public PageBean getPageBean(HQLHelper hqlHelper, int currentPage);
}
